commit: Add --canonical-permissions argument
authorAlexander Larsson <alexl@redhat.com>
Sun, 26 Mar 2017 09:01:25 +0000 (11:01 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 27 Mar 2017 13:48:41 +0000 (13:48 +0000)
commitb2d10dcaaa7c2bd65916887cadb046033cebdc4e
tree32eebc6ee46a859080c44b92e096ee089ba99359
parentbe28c10849607d3dec4ff75553d8467745cc149b
commit: Add --canonical-permissions argument

This adds to file permission masks the same bitmask that will
be applied to file objects in bare-user* repos. This will be
needed in the testsuite to ensure that the things we commit
will be expressable in bare-user-only repos.

Closes: #750
Approved by: cgwalters
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo.h
src/ostree/ot-builtin-commit.c